#include "../include/head.h"
#include "../lib/error.h"

int main(int agc,char *agv[])
{
    int c,n = 0;
    
    printf("Please enter a character('Q' to exit):");
    while ((c = getchar()) != 'Q') {
        if (c != '\n'){
            printf("char %3d is %c asiic code %d\n",n++,c,c);
        }
    }
    return 0;
}

    
        
            
        
    

    
        




